import Vue from 'vue'
import {
  Button,
  Container,
  Header,
  Main,
  Footer,
  Carousel,
  CarouselItem,
  Form,
  FormItem,
  Input,
  Dialog,
  Card,
  Rate,
  Message,
  Breadcrumb,
  BreadcrumbItem,
  MessageBox,
  Tag
} from 'element-ui'

Vue.use(Button)
  .use(Container)
  .use(Header)
  .use(Main)
  .use(Footer)
  .use(Carousel)
  .use(CarouselItem)
  .use(Form)
  .use(FormItem)
  .use(Input)
  .use(Dialog)
  .use(Card)
  .use(Rate)
  .use(Breadcrumb)
  .use(BreadcrumbItem)
  .use(Tag)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox
